COWL: Copy-On-Write for Logic Programs

نویسنده

  • Vítor Santos Costa
چکیده

In order for parallel logic programming systems to become popular, they should serve the broadest range of applications. To achieve this goal, designers of parallel logic programming systems would like to exploit maximum parallelism for existing and novel applications, ideally by supporting both and-parallelism and or-parallelism. Unfortunately, the combination of both forms of parallelism is a hard problem, and available proposals cannot match the efficiency of, say, or-parallel only systems. We propose a novel approach to And/Or Parallelism in logic programs. Our initial observation is that stack copying, the most popular technique in or-parallel systems, does not work well with And/Or systems because memory management is much more complex. Copying is also a significant problem in operating systems where the copy-onwrite (COW) has been developed to address the problem. We demonstrate that this technique can also be applied to And/Or systems, and present both shared memory and distributed shared memory designs.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Effects of Copy-on-Write Memory Management on the Response Time of UNIX Fork Operations

We present techniques for analyzing the effect of ‘‘copy-on-write’’ page management strategies on the performance of UNIXÒ fork() operations. The analysis techniques are applied on two workstations, the AT&T 3B2/310 and the Hewlett-Packard HP9000/350 in order to determine the relationships between the amount of memory in the parent’s data segment, the fraction of this memory which is written by...

متن کامل

High Performance Metadata Integrity Protection in the WAFL Copy-on-Write File System

We introduce a low-cost incremental checksum technique that protects metadata blocks against in-memory scribbles, and a lightweight digest-based transaction auditing mechanism that enforces file system consistency invariants. Compared with previous work, our techniques reduce performance overhead by an order of magnitude. They also help distinguish scribbles from logic bugs. We also present a m...

متن کامل

The Intelligent Channel: A Scheme for Result Sharing in Logic Programs

The separation of logic and control In logic pro­ grams allows the programmer to write programs whose execution Is determined by the Interpreter. This charac­ teristic of logic programs spurred research towards diversifying the means for controlling the execution of logic programs, and towards understanding and explor­ ing the value of parallelism In logic programming. Much of these efforts bel...

متن کامل

Metaprogramming Domain Specific Metaprograms

When a metaprogram automatically creates rules, some created rules are useless because they can never apply. Some metarules, that we call impossibility metarules, are used to remove useless rules. Some of these metarules are general and apply to any generated program. Some are domain specific metarules. In this paper, we show how dynamic metaprogramming can be used to create domain specific imp...

متن کامل

Factoring Proofs

Logic programs, when total, realize proofs via a realizability interpretation similar to the Curry Howard isomorphism. The challenge in statically deciding totality lies in checking for termination and for coverage. For Elf logic programs, sophisticated algorithms exist for both problems. However, those solutions only apply to a much smaller subset of logic programs than a programmer is typical...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999